<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看清单</title>
</head>
<body>
<jsp:include page="./header.jsp"></jsp:include>
<table BORDER="1">
<tr>
<th>用户名</th>
<th>班级</th>
<th>地址</th>
<th>联系人</th>
<th>电话</th>
<th>总价</th>
<th>购物时间</th>
<th>查看详情</th>
</tr>
<c:forEach items="${requestScope.list}" var="shop">
<tr>

<td>${shop.user}</td>
<td>${shop.class1}</td>
<td>${shop.address}</td>
<td>${shop.contact}</td>
<td>${shop.phone}</td>
<td>${shop.totalprice}</td>
<td>${shop.date}-${shop.time}</td>
<td><a href="checklistgoods.do?date=${shop.date}&time=${shop.time}">查看</a></td>
</tr>
</c:forEach>
</table>
</body>
</html>